@import './mixin.scss';
@import './btn.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './element-ui/date/index.scss';
@import './base/_reset';
@import './base/_back';

#app {
  width: 1920px;
  height: 1080px;
  transform-origin: left top 0px;
}

// 设置全局颜色
:root {
  --text-color: red
}

// 自定义字体
@font-face {
  font-family: 'DIN Condensed Bold'; /*字体名称*/
  src: url('/static/font/DIN Condensed Bold.woff');/*字体源文件*/
}

// 数字、英文字体样式
.boldFont{
  font-family: DIN Condensed Bold
}

body {
  width: 100%;
  height: 100%;
  background: url("/static/img/backImg/cyy_dataKb_bg.jpg") left top no-repeat;
  background-size: 100% 100%;
  // background: radial-gradient(ellipse at 50% 0, #00239b, #000039);
  overflow-x: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-user-select: none;
  user-select: none;
}

input:-moz-placeholder{ color: red }
input:-ms-input-placeholder{ color: red }
input:-webkit-input-placeholder{ color: red }
input:-moz-only-whitespace{ color: red }

table { border-collapse: collapse; border-spacing: 0; }
.black{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: DIN Condensed Bold;
    background: #262544
}
label {
  font-weight: 700;
}

.no-padding {
  padding: 0px !important;
}
.padding-content {
  padding: 4px 0;
}
.block {
  display: block;
}
.pointer {
  cursor: pointer;
}
.inlineBlock {
  display: block;
}
.textColor{
  color:#2ff0d2
}
.row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
code {
  background: #eef1f6;
  padding: 15px 10px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: all .2s ease
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

//main-container全局样式
.main-container{
  width:100%
}
.app-container {
  padding: 20px;
}

.components-container {
  padding: 0 50px;
  position: relative;
  background: #252441
}

.pagination-container {
  margin-top: 30px;
}

.editor-container .CodeMirror {
  height: 100%!important;
}

.text-center {
  text-align: center
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}
.el-select .el-tag {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-color: transparent;
  margin: 3px 0 3px 5px;
  background-color: #f0f2f5;
}
.publishedTag,
.draftTag,
.deletedTag {
  color: #fff;
  background-color: $panGreen;
  line-height: 1;
  text-align: center;
  margin: 0;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  position: absolute;
  left: 20px;
  top: 10px;
}

.draftTag {
  background-color: $yellow;
}

.deletedTag {
  background-color: $red;
}

.input-label {
  font-size: 14px;
  color: #48576a;
  line-height: 1;
  padding: 11px 5px 11px 0;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.no-marginLeft {
  .el-checkbox {
    margin: 0 20px 15px 0;
  }
  .el-checkbox+.el-checkbox {
    margin-left: 0px;
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

//refine simplemde
.simplemde-container {
  .editor-toolbar.fullscreen,
  .CodeMirror-fullscreen {
    z-index: 1003;
  }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//github-corner
.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0)
  }
  20%,
  60% {
    transform: rotate(-25deg)
  }
  40%,
  80% {
    transform: rotate(10deg)
  }
}

@media (max-width:500px) {
  .github-corner:hover .octo-arm {
    animation: none
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out
  }
}
//黑色样式
.el-menu {
  border-radius: 2px;
  list-style: none;
  position: relative;
  border: 0 !important;
  box-shadow: 12px 12px 38px 0px #1b1b34 !important;
  margin: 0;
  padding-left: 0;
  // background-color: #262544;
}
.navbar {
  height: 50px;
  line-height: 50px;
  border-radius: 0px !important;
  border: 0;
  background-color: #151531;
}
.el-breadcrumb__item__inner, .el-breadcrumb__item__inner a {
  transition: color .15s linear;
  color: #ffffff;
}
.el-tabs__nav-scroll {
  overflow: hidden;
  background: transparent;
}
.el-tabs--border-card {
  background: #fff;
  /* border: 1px solid #d1dbe5; */
}
.el-menu-item{
  color:#ccc;

}
.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item.is-active, .el-menu-item.is-active {
  color:white !important;
  font-weight: 600;
}
.el-tabs--border-card>.el-tabs__header {
  background: 0;
  margin: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.el-submenu__title {
  color: white;
  background: rgba(17,81,179,0.6)
}
.el-menu-item:focus, .el-menu-item:hover {
  background-color:rgba(59,141,238,0.6);
}
.el-submenu__title:hover {
  background-color:rgba(59,141,238,0.6);
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
  // background-color: #252733;
  background: linear-gradient(#3b8dee, #1151b3);
  border-right-color: #252733;
  border-left-color: #252733;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active:last-child {
  border: 0; 
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item {
  transition: none;
  border: 1px solid transparent;
  border-top: 0;
  margin-right: -1px;
  margin-left: -1px;
}

.el-tabs__item.is-active {
  color: #fff;
}
.el-tabs__item:hover {
  color: #13fbfb;
  cursor: pointer;
}
.el-tabs__item {
  padding: 0 16px;
  height: 42px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 42px;
  display: inline-block;
  list-style: none;
  font-size: 14px;
  color: #ffffff;
  position: relative;
  border-radius: 10px
}
.el-tabs--border-card {
  background: transparent;
  border: 0;
}
.chartCon{
    padding:59px  8px 10px 0;
    text-align: center;
    height:429px;
    background:#151531;
    border-bottom-left-radius:10px ;
    border-bottom-right-radius:10px ;
}
.el-tabs__nav-wrap {
  overflow: hidden;
  margin-bottom: -1px;
  position: relative;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.el-tabs__content {
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  // background: #151531;
  border-radius: 10px;
}
.navbar .screenfull[data-v-5e8a3437] {
  position: absolute;
  right: 90px;
  top: 16px;
  color: white;
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
  color: #fff;
  background: #216BCE;
  border:0
}
.el-tabs--border-card>.el-tabs__header .el-tabs__item {
  color: white;
  margin: 5px 5px;
  border: 1px solid #216BCE;
}
.el-tabs--border-card>.el-tabs__header{
  border: 0
}
.el-select-dropdown__item {
  font-size: 14px;
  padding: 8px 10px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  height: 36px;
  line-height: 1.5;
  box-sizing: border-box;
  cursor: pointer;
}
.tableChartText{
  color: #fff
}
.el-select-dropdown {
  position: absolute;
  z-index: 1001;
  box-shadow: 0 2px 6px #ccc;
  border: 0;
  border-radius: 2px;
  background-color: #fff;
  /* -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04); */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04); */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 5px 0;
}
.el-loading-mask{
  position: absolute;
  z-index: 10000;
  background-color: #2f3543 ;
  margin: 0;
  top:0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.el-icon-caret-bottom {
  position: absolute;
  right: -20px;
  color:#fff;
  top: 25px;
  font-size: 12px;
}
.v--modal {
  background-color: #2f3543;
  text-align: left;
  border-radius: 3px;
  box-shadow: 0 20px 60px -2px rgba(27, 33, 58, .4);
  padding: 0;
}

.el-breadcrumb__inner, .el-breadcrumb__inner a {
  font-weight: 700;
  -webkit-transition: color .2s cubic-bezier(.645,.045,.355,1);
  transition: color .2s cubic-bezier(.645,.045,.355,1);
  color: white;
}
.el-pagination .btn-next, .el-pagination .btn-prev {
  background: center center no-repeat #252733;
  background-size: 16px;
  border: 1px solid #252733;
  cursor: pointer;
  margin: 0;
  color: #13fbfb;
}
.el-pager li {
  padding: 0 4px;
  border-right: 0;
  background: #252733;
  font-size: 13px;
  min-width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
}
.el-autocomplete-suggestion__wrap, .el-pager li {
  border: 0;
  border-right: 1px solid #1b1f28 ;
  border-left: 1px solid #1b1f28 ;
  box-sizing: border-box;
}
.el-pager li:hover {
  color: #13fbfb;
}
.el-pager li.active {
  border-color:#2f3543;
  background-color: #2f3543;
  color: #13fbfb;
  cursor: default;
}
.el-pagination button.disabled {
  color: #13fbfb;
  background-color: #252733;
}
.el-pagination {
  white-space: nowrap;
  padding: 2px 5px;
  color: #fff;
}
.el-pager li:last-child {
  border-right:0
}
.el-pagination button:hover {
  color: #13fbfb;
}
.pageCon {
  // transform: scale(1.2) ;
  // position: absolute;
  // top: 105%;
  // right: 49%;
}
.myTabClass .el-radio-button:first-child .el-radio-button__inner {
  border-left: 0;
  }
  .myTabClass .el-radio-button__inner{
  background: transparent;
  border:0;
  color:white
  }
  .myTabClass .el-radio-button__orig-radio:checked+.el-radio-button__inner{
  background: transparent;
  box-shadow:-1px 0 0 0 transparent;
  color:#409EFF
  }
  .myTabClass .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
      /*border: 1px solid #216BCE;
      border-radius: 5px 5px;*/
     background: #216BCE;
  }
  .myTabClass .el-tabs__item {
    width: 40%;
    text-align: center;
    padding:0 1.5rem;
    // height: 30px;
}
  .myTabClass .el-tabs--card>.el-tabs__header .el-tabs__item{
    border: 1px solid #216BCE;
    margin-left: 5px;
    margin-right: 20px;
  }
  .myTabClass .el-tabs__nav-scroll{
    background: none;
    margin-bottom: 1em;
  }
  .myTabClass .el-tabs__header{
    border: none;
  }
  .myTabClass .el-tabs--card>.el-tabs__header .el-tabs__nav{
    border: none;
  }

.factoryClass {
  padding: 6px 11px;
  background: #151531;
  border-radius: 10px;
}
.timeClass .el-radio-button__orig-radio:checked + .el-radio-button__inner {
  background: transparent ;
  box-shadow: -1px 0 0 0 transparent ;
  color: #409eff ;
}
.rowItem {
  display: flex;
  background: #262544;
  border-right: 1px solid #151531;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  // padding: 10px;
  color: white;
  width: 20%;
}
.rowCon {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
}
.analysisCss {
  color: white;
}
.smallBtnSel{
  margin: 10px 20px;
}
.smallBtnSel .el-radio-button__inner{
  padding:0.4rem 3rem;
  margin: 0 26px 0 0;
  border-radius: 5px;
  // border: 1px #409EFF solid;
}
.smallBtnSel  .el-radio-button:first-child .el-radio-button__inner{
  // border-left: 1px solid #409EFF;
  border-radius: 5px
}
.smallBtnSel  .el-radio-button__orig-radio:checked + .el-radio-button__inner{
  color: #fff;
  border: 1px #409EFF solid;
  background-color: #409EFF;
  border-color: #409EFF;
  border-radius: 5px;
  -webkit-box-shadow: -1px 0 0 0 #409EFF;
  box-shadow: -1px 0 0 0 #409EFF;
}
// .loneColorHeader .el-table th{
//   white-space: nowrap;
//   overflow: hidden;
//   background-color: #262544 ;
//   text-align: center;
// }
.loneColorHeader .el-table__footer-wrapper thead div, .el-table__header-wrapper thead div{
  background: transparent
}
.loneColorHeader .blueHeader {
  background: #409EFF
}
.soSmallBtnSel{
  width: 100%;
  text-align: center;
}
.soSmallBtnSel .el-radio-button__inner{
  padding:0.4rem 3rem;
  border-radius: 0;
  border: 1px #409EFF solid;
}
.soSmallBtnSel  .el-radio-button:first-child .el-radio-button__inner{
  border-left: 1px solid #409EFF;
  border-radius: 0
}
.soSmallBtnSel  .el-radio-button__orig-radio:checked + .el-radio-button__inner{
  color: #fff;
  border: 1px #409EFF solid;
  background-color: #409EFF;
  border-color: #409EFF;
  border-radius: 0;
  -webkit-box-shadow: -1px 0 0 0 #409EFF;
  box-shadow: -1px 0 0 0 #409EFF;
}
.soSmallBtnSel .el-radio-button:last-child .el-radio-button__inner{
  border-radius: 0
}
.myCheckBox{
  display:flex;flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center; overflow-x: hidden;
  overflow-y: scroll;height:10rem
}
.myCheckBoxInput{
    border:1px solid #F2AA50;
    padding: 10px; 
    width:400px;
    height: auto;
    top: 55px;
    left: 265px;
    position:absolute;
    z-index: 999;
    border-radius: 10px; 
    background: rgba(242,170,80,0.6);
}
.myCheckBoxInput .el-input__inner{
  background: transparent
}
.myCheckBox .el-checkbox__input.is-checked+.el-checkbox__label{
  color:#fff
}
.myCheckBox .el-input__inner{
  background: transparent
}
.myCheckBox .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background: #F6AD51;
  border-color:#F6AD51  
}
.myCheckBox .el-checkbox__inner:hover{
  border-color: #F6AD51
}
.myCheckBoxItem{
  color: white;margin-left: 1em;padding:5px;width:25%
}
.myCheckBox{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center
}
.myCheckBox .el-checkbox__input.is-checked+.el-checkbox__label{
  color:#fff
}
.myCheckBox .el-checkbox+.el-checkbox{
     margin-left: 14px
}
.myCheckBoxCss .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
 background: #F6AD51;
 border-color: #F6AD51;
}


/* 滚动条 */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: #F5F5F5
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 .06rem rgba(0, 0, 0, .3);
    border-radius: .1rem;
    background-color: #F5F5F5
}

::-webkit-scrollbar-thumb {
    border-radius: .1rem;
    -webkit-box-shadow: inset 0 0 .06rem rgba(0, 0, 0, .3);
    background-color: #555
}

/*
* 绝对定位距离（上右）20px
*/
.relative { position: relative; }
.absTopRig-20 { position: absolute; top: 20px; right: 20px; }
.absTopRig-5-20 { position: absolute; top: 5px; right: 20px; }
.absTopRig-10-20 { position: absolute; top: 10px; right: 20px; }
.absTopCenter-80 { position: absolute; top: 80px; z-index: 10; width: 100%; }
.absTopRight-50-20 { position: absolute; top: 50px; right: 20px; }

/*
* 通用边距（外）
*/
.marginTop-20 { margin-top: 20px; }
.marginTop-30 { margin-top: 30px; }
.marginRight-20 { margin-right: 20px; }
.marginBot-20 { margin-bottom: 20px; }
.marginBot-30 { margin-bottom: 30px; }
.marginBot-40 { margin-bottom: 40px; }
.marginLeft-20 { margin-left: 20px; }

.marginLeft-35 { margin-left: 35px !important; }
.marginLeft-40 { margin-left: 40px; }